﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;

namespace KochamPycze.GUI
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {
    }

    public static class StdExceptionHandling{
        public static void Handle(this Exception e)
        {
            MessageBox.Show(e.Message + "\r\n\r\n" + e.StackTrace, "Exception cought!");
        }
    }
}
